package utils;

import javax.swing.JTable;
import org.jdesktop.beansbinding.Binding;
import org.jdesktop.beansbinding.BindingGroup;

public class Utils {
    
    public static void updateJTable(JTable table, BindingGroup bindingGroup, String bindName) { 
        
        Binding b = bindingGroup.getBinding(bindName);
        b.unbind();
        b.bind();
        table.repaint();
        
    }
    
}
